# zbar头文件
PATH_ZBAR = $$PWD/zbar
INCLUDEPATH += $$PATH_ZBAR/include \
               $$PATH_ZBAR/zbar \
               $$PATH_ZBAR/zbar/decoder \
               $$PATH_ZBAR/zbar/qrcode
win32 {
    # #Windows平台,判断平台的位数
    LIBS += winmm.lib
   contains(QMAKE_TARGET.arch, x86_64) {
       # #64位平台
       LIBS += $$PATH_ZBAR/libs/windows/x64/Release/zbar.lib   #zbar库(需要配合iconv库)
   } else {
       # #32位平台
       LIBS += $$PATH_ZBAR/libs/windows/Release/zbar.lib   #zbar库(需要配合iconv库)
   }
} else {
    # #非Windows平台
    # zbar库
    LIBS += $$PATH_ZBAR/libs/$$ANDROID_TARGET_ARCH/libzbar.a
}
